-- GENERATED SPELL FOR [Rhydian] --


function spell0_30656(pUnit, Event) --@Portal: Shattrath,n/a--
pUnit:FullCastSpellOnTarget(57676,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30656', 33000, 1)
end

function Sorts_30656(pUnit, Event)
local choix_sorts_30656 = math.random(0, 0)
if choix_sorts_30656 == 0 then
pUnit:RegisterEvent('spell0_30656', 1, 1)
end
end

function mob30656_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30656', math.random(1500, 3000), 1)
end

function mob30656_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30656_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30656_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30656, 1, 'mob30656_Action')
RegisterUnitEvent(30656, 2, 'mob30656_Leave')
RegisterUnitEvent(30656, 3, 'mob30656_Kill')
RegisterUnitEvent(30656, 4, 'mob30656_Die')
